package com.baidu.travel.service.impl;

import com.baidu.travel.dao.SummaryDao;
import com.baidu.travel.domain.Summary;
import com.baidu.travel.service.SummaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SummaryServiceImpl implements SummaryService {
    @Autowired
    private SummaryDao summaryDao;
    @Override
    public List<Summary> summary() {
        return summaryDao.summary();
    }
}
